Fix bug #13735 with network streams on MS-Windows.
authorEli Zaretskii <eliz@gnu.org>
Sun, 17 Feb 2013 18:17:34 +0000 (20:17 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 17 Feb 2013 18:17:34 +0000 (20:17 +0200)
commit8ad69703d80722f89899d204ac986a4eecfb9ca9
treeec0bc0bd4d2c32f195941b0c371923ce1738c800
parent4c3527a049dd65a72445fc517d9a8d04d1767021
Fix bug #13735 with network streams on MS-Windows.
Revert changes to w32proc.c done since revision 111040.

Do NOT merge to trunk!

 src/w32proc.c (new_child): Remove the loop that attempted to salvage
 slots of dead processes.
 (new_child, delete_child, find_child_pid): Don't insist on
 procinfo.hProcess be NULL for a process slot to be considered
 inactive, or be non-NULL to be considered active.
 (reader_thread): Don't set the FILE_AT_EOF flag of a file
 descriptor if the corresponding child was deleted and its
 char_avail handle is NULL.
 (reap_subprocess): Don't reset the FILE_AT_EOF flag.
 (sys_select): Don't pass a NULL process handle to
 WaitForMultipleObjects.
src/ChangeLog
src/w32proc.c